﻿@model FILSTARTUPS_MOBILE.Models.ForumPage

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@section Nav
{
    @foreach (var nav in Model.PageNav)
    {
        <li>@Html.ActionLink(nav.pagename, "Page" , new { pageidPK=nav.pageidPK, pagename=nav.pagename })</li>
    }
}


<h2>Profile</h2>

<ul data-role="listview" data-inset="true">
    <li data-role="list-divider" data-theme="a">Forum Main Topic</li>
           <li>List of the Thread</li>
    @foreach (var item in Model.forum)
    {
       @*<li>@Html.ActionLink(item.forumtitle , "ViewThread", new { forumidFK = item.forumidPK})</li>*@
       <li><a href="/Forum/ViewThread?forumidFK=@item.forumidPK"><h3>@item.forumtitle</h3><p>@item.forumdescription</p></a></li>
    }

</ul>